package com.umakr.ax.common.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.umakr.ax.core.base.BaseModel;

import java.util.Date;


/**
 * <p>
 * ${table.comment}
 * </p>
 *
 * @author Umakr-Code-Generator
 * @since 2018-01-02
 */
@TableName("rd_plugin_coupon_result")
@SuppressWarnings("serial")
public class PluginCouponResult extends BaseModel {

    /**
     * 优惠券id
     */
	private Long couponid;
    /**
     * 优惠券编号
     */
	@TableField("coupon_num")
	private String couponNum;
    /**
     * 用户id
     */
	private Long userid;
    /**
     * 使用情况
0 未使用
1 已使用
2 已过期
     */
	@TableField("use_status")
	private Integer useStatus;
    /**
     * 领取时间
     */
	@TableField("get_time")
	private Date getTime;
    /**
     * 消费时间
     */
	@TableField("check_time")
	private Date checkTime;
    /**
     * 核销员id
     */
	@TableField("check_user_id")
	private Long checkUserId;
    /**
     * 推广id

便于统计
     */
	@TableField("spread_id")
	private Long spreadId;

	@TableField("del_status")
	private Integer delStatus;


	public Long getCouponid() {
		return couponid;
	}

	public void setCouponid(Long couponid) {
		this.couponid = couponid;
	}

	public String getCouponNum() {
		return couponNum;
	}

	public void setCouponNum(String couponNum) {
		this.couponNum = couponNum;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Integer getUseStatus() {
		return useStatus;
	}

	public void setUseStatus(Integer useStatus) {
		this.useStatus = useStatus;
	}

	public Date getGetTime() {
		return getTime;
	}

	public void setGetTime(Date getTime) {
		this.getTime = getTime;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public Long getCheckUserId() {
		return checkUserId;
	}

	public void setCheckUserId(Long checkUserId) {
		this.checkUserId = checkUserId;
	}

	public Long getSpreadId() {
		return spreadId;
	}

	public void setSpreadId(Long spreadId) {
		this.spreadId = spreadId;
	}

	public Integer getDelStatus() {
		return delStatus;
	}

	public void setDelStatus(Integer delStatus) {
		this.delStatus = delStatus;
	}
}